<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>grid</title>
</head>
<style>
    /* * {
        padding: 0;
        margin: 0;
    } */
    
    .grid-container {
        display: grid;
        grid-gap: 5px;
        grid-template-columns: 1fr 2rr 1fr;
    }
    
    .grid-item {
        background: lightsalmon;
    }
    
    .sceond {
        height: 300px;
        grid-row: 2/4;
    }
    
    .thrid {
        grid-column: 2 / span 1;
        grid-row: 2 / span 2;
        height: 150px;
        width: 225px;
        align-self: center;
    }
    
    .four {
        grid-row: 2 / 4;
        display: flex;
        align-items: center;
        justify-content: center;
        /* align-self: stretch; */
    }
    
    .four-t1 {
        background: lightblue;
        width: 200px;
        height: 200px;
    }
    
    .ff {
        width: 60px;
        height: 60px;
        background: red;
    }
</style>

<body>
    <div class="grid-container">
        <div class="grid-item" style="grid-column:1 / 4">dd</div>
        <div class="grid-item sceond">ddd</div>
        <div class="grid-item thrid">ddd</div>
        <div class="grid-item four">
            <div class="four-t1">
                <div class="ff">

                </div>

            </div>
        </div>
        <div class="grid-item" style="grid-column:1 / 4">dd</div>
    </div>


</body>

</html>